package com.uroad.liaoningpos.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @创建者 wlw
 * @创建时间 2019/4/3 16:38
 * @描述 online Model
 */
public class OnlineMDL implements Serializable {
    //    ticketid	登录验证标识
    //    useruuid	用户唯一标识
    //    username	用户名称
    //    merchantshopid	商户id
    //    shopname	商户名称
    private String ticketid;
    private String beonduty;

    private List<StoreInfo> list;

    public String getTicketid() {
        return ticketid == null ? "" : ticketid;
    }

    public void setTicketid(String ticketid) {
        this.ticketid = ticketid;
    }

    public String getBeonduty() {
        return beonduty == null ? "" : beonduty;
    }

    public void setBeonduty(String beonduty) {
        this.beonduty = beonduty;
    }

    public List<StoreInfo> getList() {
        if (list == null) {
            return new ArrayList<>();
        }
        return list;
    }

    public void setList(List<StoreInfo> list) {
        this.list = list;
    }

    public class StoreInfo implements Serializable{
        private String useruuid;
        private String username;
        private String merchantshopid;
        private String shopname;

        public String getUseruuid() {
            return useruuid == null ? "" : useruuid;
        }

        public void setUseruuid(String useruuid) {
            this.useruuid = useruuid;
        }

        public String getUsername() {
            return username == null ? "" : username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getMerchantshopid() {
            return merchantshopid == null ? "" : merchantshopid;
        }

        public void setMerchantshopid(String merchantshopid) {
            this.merchantshopid = merchantshopid;
        }

        public String getShopname() {
            return shopname == null ? "" : shopname;
        }

        public void setShopname(String shopname) {
            this.shopname = shopname;
        }

    }
}
